home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 4 / Eagles_Nest_Mac_Collection_Disc_4.TOAST / Spreadsheets & Statistics / WingZ11a#2 / BIFF Read Me next >
Text File  |  1990-01-03  |  17KB  |  316 lines

  1. IMPORTING BIFF WORKSHEET FILES
  2.  
  3. In addition to importing DIF, SYLK, and LOTUS 1-2-3 versions 1A and 2.0, Wingz now imports BIFF (Binary Interchange File Format) worksheet files. Although other uses exist, the primary use of this new capability is to read PC Excel versions 2.0 and above or Macintosh Excel versions 2.0 and above worksheet files directly into Wingz. 
  4.  
  5. The new import feature translates worksheet files only; BIFF chart files and BIFF macro sheets are not imported.
  6.  
  7.  
  8. I. IMPORTING BIFF WORKSHEET FILES
  9.  
  10. Importing your BIFF worksheets into Wingz is as simple as opening a Wingz worksheet. Follow these steps to import your worksheet files:
  11.  
  12. 1) Launch Wingz;
  13. 2) Select the Open option on the File menu;
  14. 3) Select the file folder and disk where the BIFF worksheet file is located;
  15. 4) Click on the All Documents button in the dialog box;
  16. 5) Double-click on the file to be imported; or, click on the desired file and click the Open button;
  17. 6) Wingz automatically imports your BIFF worksheet.
  18.  
  19. As expected when importing foreign file formats, your BIFF files may vary slightly after being imported to Wingz. Before proceeding, review your worksheets carefully for elements which require further modification.
  20.  
  21. II. WORKSHEET DIFFERENCES
  22.  
  23. Because of the inherent differences between Excel and Wingz some features, functions, and formulas need additional translation after importing. The remainder of this document describes the anomalies which may be encountered when importing BIFF worksheet files into Wingz. Review each of the following areas to ensure your Wingz worksheet produces the desired results:
  24.  
  25.     1) Protection;
  26.     2) Formatting;
  27.     3) Calculation;
  28.     4) Worksheet elements.
  29.  
  30.  
  31.  
  32.  
  33.  
  34. A. PROTECTED BIFF WORKSHEETS
  35.  
  36. Due to the security imposed by password protection, Wingz cannot import any BIFF worksheet for which the following is true:
  37.  
  38. 1) The worksheet itself is password-protected;
  39. 2) The worksheet contains cells which are password-protected;
  40. 3) The worksheet contains windows which are password-protected.
  41.  
  42. To import these files into Wingz, the password protection must be removed by the original application (Excel). 
  43.  
  44. Any BIFF worksheet which is window-protected without a password is imported as a non-window-protected worksheet.
  45.  
  46.  
  47. B. FORMAT VARIATIONS
  48.  
  49. Wingz and Excel handle standard print options, display options, and custom cell formats slightly differently. The following section defines these exceptions.
  50.  
  51.  
  52. PRINT OPTIONS
  53.  
  54. In Wingz headers and footers are defined as cells within the worksheet. In Excel headers and footers are defined as string ranges in the Page Setup option. Therefore, imported headers and footers are appended to the new Wingz worksheet below its lower left corner. These cells are automatically defined by Wingz as the report header range and report footer range, respectively. 
  55.  
  56. As some Excel formatting options are not available in Wingz, the Excel headers and footers are imported literally. That is, macros which define strings in Excel are imported as the macros themselves. 
  57.  
  58. For example, suppose an Excel worksheet contains the header "&F". The imported worksheet then contains "&F" as the report header range, appearing below the lower left corner of your worksheet. You can then replace the Excel macro with the desired string.
  59.  
  60. Similarly, suppose the Excel footer is defined as "&Lfooterstring&C&P&D"; the imported worksheet contains "&Lfooterstring&C&P&R&D" as the report footer range. This cell appears directly below the header cell. Redefine the footer using the Wingz standards described in Chapter 7: Printing, in the Wingz User's Guide.
  61.  
  62.  
  63. The Excel print area is imported as the named range Print_Area. However, the report print range is not specifically defined. Define this area by performing the following:
  64.  
  65. 1) Select the area to be printed (named Print_Area) from the Name submenu of the Go menu;
  66. 2) Select the Report Print Range option from the Report submenu of the Sheet menu.
  67.  
  68. Other print options are ignored. These include print gridlines, print row and column headings, margins, paper size, and paper orientation. All printer specific options are also ignored. 
  69.  
  70.  
  71. DISPLAY OPTIONS
  72.  
  73. Wingz ignores the Excel Split Windows and Frozen Titles features.
  74.  
  75.  
  76. CUSTOM COLOR FORMATTING
  77.  
  78. Wingz and Excel assign custom formatting colors differently. In Wingz custom formats, positive numbers, zero values, and text entries are assigned a single color. Negative numbers may be assigned a different color, if desired. Excel allows a different color to be assigned to each type of numeric cell entry. 
  79.  
  80. For example, consider the Excel custom format:
  81.  
  82.     [RED]$#,##;[BLUE]($#,##);[CYAN]GENERAL;[GREEN]GENERAL.
  83.  
  84. Wingz translates the entire custom format but assigns the color red to all positive values, zero values, and text entries. Negative values appear in blue.
  85.  
  86. The Wingz custom format is as follows:
  87.  
  88.     $#,##\;($#,##\);GENERAL;GENERAL.
  89.  
  90.  
  91.  
  92.  
  93. FONT CONVERSION
  94.  
  95. If all the fonts in your Excel worksheet are installed on your Macintosh, Wingz directly imports the Macintosh Excel fonts. If a Macintosh font is not installed when translating the worksheet, Wingz assigns the default font. In importing PC Excel files the following font conversions occur:
  96.  
  97.  
  98. PC FONT                         MACINTOSH FONT NAME          FONT STYLE
  99. Helv                               Helvetica                               Plain
  100. Helv Bold                       Helvetica                               Bold
  101. Helv Italic                     Helvetica                               Italic
  102. Helv Bold Italic             Helvetica                               Bold and Italic
  103.  
  104. Courier Bold                  Courier                                   Bold
  105. Courier Italic                Courier                                   Italic
  106. Courier Bold Italic        Courier                                   Bold and Italic
  107.  
  108. Tms Rmn                        Times                                    Plain
  109. Tms Rmn Bold                Times                                    Bold
  110. Tms Rmn Italic              Times                                    Italic
  111. Tms Rmn Bold Italic       Times                                   Bold and Italic
  112.  
  113. Roman                            Times                                    Plain
  114.  
  115. System                           Chicago                                 Plain
  116.  
  117. System Proportional       Chicago                                Plain
  118.  
  119. Modern                            Monaco                                 Plain
  120.  
  121. Script                             Zapf Chancery                      Plain
  122.  
  123.  
  124.  
  125. C. CALCULATION DIFFERENCES
  126.  
  127. PRECISION
  128.  
  129. Wingz always calculates to the greatest possible precision. Therefore, the Excel Precision as Displayed option has no equivalence in Wingz. Wingz performs the calculation to the available precision and then displays the specified number of decimal places.
  130.  
  131.  
  132. ITERATION
  133.  
  134. Wingz does not import the Excel delta value when using iteration. After importing your worksheet, define the delta value and delta range for iteration. Refer to Chapter 11: Wingz Dictionary, in the Wingz Reference Manual for more information.
  135.  
  136.  
  137. EXPONENTIATION
  138.  
  139. Wingz performs exponentiation prior to negation in mathematical expressions. Excel calculates negation prior to exponentiation. For example, Wingz evaluates the expression -2^4 as -16; Excel evaluates this expression as 16.
  140.  
  141.  
  142. D. WORKSHEET ELEMENTS
  143.  
  144. Wingz treats some worksheet elements differently than does Excel. As a result, some variations occur when importing the following:
  145.  
  146.     1) Arrays;
  147.     2) Cell notes;
  148.     3) Names;
  149.     4) Dates;
  150.     5) Tables;
  151.     6) Data Bases;
  152.     7) Formulas.
  153.  
  154.  
  155. ARRAYS
  156.  
  157. Wingz does not use the array notation of Excel. Therefore, arrays can not be directly imported. 
  158.  
  159. Any formulas containing arrays yield an error message. For example, an Excel array formula such as {=A1:A3+B1:B3} translates as ERR{=A1..A3+B1..B3}. 
  160.  
  161. Similarly, any formulas containing array constants cannot be directly imported into Wingz. For example, the Excel formula =SUM({1,2,3}*4) imports as ERR=SUM({1,2,3}*4). This example could be corrected by distributing the array. For example, replace this error with the formula =SUM(1*4+2*4+3*4).
  162.  
  163.  
  164. CELL NOTES
  165.  
  166. Cell notes are not imported into Wingz.
  167.  
  168. NAMES
  169.  
  170. If a name in a BIFF worksheet represents a range, Wingz imports the name with its range. Wingz does not import a name which represents a value or a formula. To prevent the loss of this information Wingz appends these names as cells below the footer information. 
  171.  
  172. For example, suppose an Excel worksheet contains the following three names: 
  173.  
  174.     AREA which represents the range A1 through C4;
  175.     PRINCIPAL which represents the value 1000;
  176.     INTEREST which represents the value 10%.
  177.  
  178. Wingz imports the name AREA with its associated range. PRINCIPAL and INTEREST are each imported as cells containing the names and values. These cells are appended below the page footer information. 
  179.  
  180. As Wingz does not recognize names of values and formulas, any imported formulas which refer to these names can not be calculated. Rewrite these references as the values, cells, or formulas they represent.
  181.  
  182.  
  183. DATES
  184.  
  185. All spreadsheets use a numeric representation of dates for calculation and storage. Wingz calculates and stores dates based on the number of days which have elapsed since December 30, 1899. Macintosh Excel defaults to the 1904 date system which uses January 1, 1904 as its base. Excel for OS/2 and Excel for Windows default to the 1900 date system which uses January 1, 1900 as its base. Therefore, Wingz must convert all Macintosh Excel dates when importing the worksheet. To do this, the Excel dates must be in one of these standard Excel formats:
  186.  
  187.     1) m/d/yy;
  188.     2) d-mmm-yy;
  189.     3) d-mmm;
  190.     4) mmm-yy.
  191.  
  192. Wingz can not properly convert other date formats when importing BIFF files.
  193.  
  194.  
  195. TABLES
  196.  
  197. Most Excel tables import directly into Wingz. However, some exceptions exist. In these cases the table values and formulas are properly imported but they do not retain the table properties. The following define the circumstances when a table is not imported directly:
  198.  
  199. 1) Wingz does not use row-input tables. Therefore, any Excel row-input tables are translated as values and formulas.
  200.  
  201.  
  202. 2) Wingz maintains only one table per worksheet. If your Excel worksheet contains more than one table, the last table retains the table properties. All other tables are converted as values and formulas.
  203.  
  204. 3) Both Wingz and Excel use two-input tables. However, the input cells are defined differently. After importing a worksheet with a two-input table, redefine the input cells as follows:
  205.  
  206.     Row Input Cell of Excel becomes Input Cell 2;
  207.     Column Input Cell of Excel becomes Input Cell 1.
  208.  
  209.  
  210. DATABASES
  211.  
  212. Wingz translates the Excel data range and criteria range as the named ranges, Database and Criteria, respectively. To use these ranges with database functions, define them as database elements in Wingz.
  213.  
  214. To define the database range perform the following:
  215.  
  216.     1) Choose the Go menu;
  217.     2) Select the Name option and drag to the Database name;
  218.     3) Choose the Database submenu from the Sheet menu;
  219.     4) Select the Data Range option.
  220.  
  221. To define the criteria range perform the following:
  222.  
  223.     1) Choose the Go menu;
  224.     2) Select the Name option and drag to the Criteria name;
  225.     3) Choose the Database submenu from the Sheet menu;
  226.     4) Select the Criteria Range option.
  227.  
  228. All Wingz database restrictions apply to imported worksheets. Therefore, CRITERIA MUST BE REDEFINED to meet Wingz standards. Refer to Chapter 6: Managing Worksheets, in the Wingz User's Guide for more information.
  229.  
  230.  
  231. FORMULAS
  232.  
  233. Most BIFF worksheet formulas are imported directly into Wingz. However, some exceptions exist.
  234.  
  235. Recall that Wingz does not use arrays or names in the same fashion as Excel. Therefore, any formulas containing arrays or names which refer to values or formulas can not be imported directly. Review the above sections on these elements.
  236.  
  237. Other Excel formulas do not translate into Wingz in the following circumstances:
  238.  
  239. 1) The Excel formula contains an error message. Clearly only valid Excel formulas can be imported.
  240.  
  241. 2) Wingz does not contain an equivalent function. These functions and function arguments are imported as text:
  242.  
  243. • Database Functions: DCOUNT, DPRODUCT.
  244.  
  245. • Date Functions: WEEKDAY.
  246.  
  247. • Financial Functions: IPMT, MIRR, NPER, PPMT, RATE.
  248.  
  249. • Information Functions: AREAS, CELL, INDIRECT, ISLOGICAL, T, TYPE, ISREF.
  250.  
  251. • Lookup Functions: INDEX, LOOKUP, MATCH.
  252.  
  253. • Matrix Functions: MDETERM, MINVERSE, MMULT, TRANSPOSE.
  254.  
  255. • Statistical Functions: COUNT, GROWTH, LINEST, LOGEST, TREND.
  256.  
  257. • Text Functions: CLEAN, SUBSTITUTE, TEXT.
  258.  
  259. 3) Wingz does not recognize the same number of arguments or the same type of arguments as does Excel. These yield error messages in Wingz:
  260.  
  261. • Any database function which has a second argument as a field name instead of a number.
  262.  
  263. • DCOUNTA if the second argument is absent.
  264.  
  265. • Date functions which contain combination date/time arguments.
  266.  
  267. • FV, PMT, and PV if the number of arguments is greater than 3.
  268.  
  269. • IRR if the number of arguments in not equal to 2.
  270.  
  271. • DDB if the number of arguments in not equal to 4.
  272.  
  273. 4) THE EXCEL FORMULA ATTEMPTS TO EVALUATE A STRING EXPRESSION IN A FUNCTION WHICH NORMALLY EXPECTS A NUMERIC EXPRESSION. In some circumstances Wingz returns an error message. In other functions Wingz assigns the text a zero value. 
  274.  
  275. For example, Excel evaluates DAY("51166") as the number 1. This function obviously anticipates a date argument. However, Excel attempts to calculate the function anyway. In this example, Wingz requires a date argument so it returns an error message.
  276.  
  277. In other cases the string argument is evaluated as zero. To prevent confusion, ensure your formulas use the anticipated arguments in Excel before translating to Wingz. This may help eliminate unexpected results.
  278.  
  279. 5) The Excel formula contains a range operator such as intersection or union. All formulas which contain range operators yield an error message when imported.
  280.  
  281. For example, the Excel formula =SUM((B1:D1) (D1:D3)) is translated as ERR=SUM((B1..D1) (D1..D3)).
  282.  
  283. In some cases, the Excel formula translates directly into Wingz. However, because the spreadsheets interpret these functions differently, the imported formulas yield different results.
  284.  
  285. These functions are described below:
  286.  
  287. • INT(): In Excel this function returns the greatest integer less than or equal to the argument. In Wingz this function returns the integer portion of any numeric expression. In some cases these values are different.
  288.                                                                                                       Excel                        Wingz
  289. =INT(-9.5) returns                                                                          -10                            -9
  290.  
  291.     NOTE: The TRUNC() function in Excel produces the same results as the INT() function in Wingz.
  292.  
  293. • VALUE(): The Excel VALUE() function converts text representing a numeric expression, date, or time into a number. The text can be formatted as any of the constant date, time, or number formats recognized by Excel. The Wingz version of this function only converts strings which represent numeric expressions. Wingz converts the string from left to right, stopping at the first non-numeric character. Therefore, the Wingz translation of date and time strings as arguments for this function yields different results.
  294.                                                                                                        Excel                      Wingz
  295. =VALUE("10:20:30") returns                                                0.43090278                         10
  296. =VALUE("$1,000") returns                                                              1000                           0
  297. =VALUE("12-Jan-89") returns                                                      32520                         12
  298.  
  299. • Wingz statistical functions count the list of items differently than Excel statistical functions. In Excel statistical functions ignore cells containing text. Wingz includes text cells in the count of items and assigns the text cell a value of 0. (Wingz does not include blank cells in a count of items.) In this example the cells D1 through D5 contain the following data respectively:
  300.  
  301.     3.4, 15, "Alabama", 19, 3.5.
  302.                                                                                                         Excel                    Wingz
  303. =VAR(D1..D5)                                                                        170.706667          55.049600
  304.  
  305. This difference is consistent for all statistical functions. Review Chapter 10: Formulas and Functions, in the Wingz Reference Manual for more information. All Database Functions and Statistical Functions which count a list of items are affected by this different method of counting cells.
  306.  
  307. • Boolean logic functions such as TRUE() and FALSE() yield the same results in Wingz as in Excel. However, these results are returned as numbers in Wingz and text in Excel. The Boolean logic functions TRUE() and FALSE() translate as follows:
  308.  
  309.  
  310.                                                                                                          Excel                  Wingz
  311. =TRUE()                                                                                             TRUE                        1
  312. =FALSE()                                                                                           FALSE                       0
  313.  
  314. This format holds true for all other logic functions (IF(), ISBLANK(), ISERR(), ISNA(), ISNUMBER(), ISRANGE(), ISSTRING()).
  315.  
  316.